<style type="text/css" media="screen">
    #editor { 
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
		height:400px;
    }
</style>
<div class="artCon">
	<div class="middleArt">
	<form class="form-horizontal" id="mainForm" method="post">
		<div class="artMain">
			<div class="mainCenter">
			<textarea name="templettext" id="templettext" style="display:none;">${log.errorinfo!''}</textarea>
<div id="editor" style="overflow: auto">${log.errorinfo!log.msg!''}</div>	
			</div>
		</div>
		<div class="bottomBg">
			<div class="btnWrap">
				<a href="javascript:closeR3ArtDialog()" class="btnStyle2">关闭</a>
			</div>
		</div>
	</form>
	</div>
</div>
<script language="javascript">
 //   var editor = ace.edit("editor");
 //   editor.setTheme("ace/theme/chrome");
//    editor.setReadOnly(true);
 //   editor.getSession().setMode("ace/mode/javascript");
//	var textarea = $("#templettext");
//	editor.getSession().on("change", function () {
//		textarea.val(editor.getSession().getValue());
//	});
</script>

